<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/decorators/taglibs.jsp"%>
<div class="w1a">
<div class="w2">系統管理 » 用戶管理 » 修改用戶</div>
<form:form modelAttribute="usersForm" id="usersForm" action="${appPath}/users/update.htm" method="post">
	<form:hidden id="version" path="version" /> 
	<form:hidden id="usersSeq" path="usersSeq" />
	<form:hidden id="userName" path="userName" />
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="80" align="right">帳號：</td>
			<td style="padding:5px;">${usersForm.userName }</td>
	    </tr>
		<tr>
			<td width="80" align="right">姓名：</td>
			<td style="padding:5px;"><form:input style="width:100px" id="name" path="name" /></td>
	    </tr>
	    <tr>
			<td width="80" align="right">角色：</td>
			<td style="padding:5px;">
				<form:select path="role" id="role">
					<form:option label="" value=""/>
					<form:options items="${roleAuth}" itemLabel="authName" itemValue="roleSeq"/>
			   	</form:select>
			</td>
	    </tr>
	    <tr>
			<td width="20%" align="right">狀態：</td>
			<td style="padding:5px;">
				<form:select path="status" id="status">
					<form:option label="關閉" value="0"/>
					<form:option label="開放" value="1"/>
			   	</form:select> 
			</td>
	    </tr>
	    <tr>
			<td colspan="2">
				<a href="#do" class="easyui-linkbutton" onClick="$('#usersForm').submit();">送出</a>
				<a href="${appPath}/users.htm" class="easyui-linkbutton">返回</a>
			</td>
		</tr>
	</table>			
</form:form> 
</div>